package com.boot2.core.conf.upload;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author zhangweilin
 * @description: 阿里oss配置
 * @date 2018/12/22
 */
@Configuration
@ConfigurationProperties(prefix = "upload.ali")
@Component
@Data
public class OssProperties extends ObjectStore {

    /**
     * 阿里oss endPoint，即图片的访问域名，也是上传的域名
     */
    private String endPoint;

}
